package cn.silver.framework.message.event;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@Schema(name = "NoticeEvent", title = "站内消息对象")
public class NoticeEvent implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 公告ID
     */
    @Schema(title = "公告类型")
    private String type;

    /**
     * 公告标题
     */
    @Schema(title = "公告标题")
    private String subject;

    /**
     * 公告内容
     */
    @Schema(title = "公告内容")
    private String content;

    /**
     * 业务主键
     */
    @Schema(title = "业务主键")
    private String busId;

    /**
     * 处理地址
     */
    @Schema(title = "处理地址")
    private String busUrl;
}
